package com.jumi.microservice.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @author Scw
 * @Date 2020-07-22 10:16
 */
@Configuration
@RefreshScope
public class UserCashConfig {
    /**
     * 提现开关：0-关闭 1-开启
     */
    @Value("${UserCash.switchEnable}")
    private String switchEnable;
    /**
     * CPS同步提现开关：0-关闭 1-开启
     */
    @Value("${UserCash.syncSwitchEnable}")
    private String syncSwitchEnable;
    /**
     * 最小提现金额
     */
    @Value("${UserCash.minWithdraw}")
    private String minWithdraw;
    /**
     * 最大提现金额
     */
    @Value("${UserCash.maxWithdraw}")
    private String maxWithdraw;
    /**
     * 本月提现金额总额上限额度
     */
    @Value("${UserCash.upperBoundMoney}")
    private String upperBoundMoney;
    /**
     * 财务提现打款安全密码
     */
    @Value("${UserCash.secPassword}")
    private String secPassword;
    /**
     * 云账户--提现打款回调URL
     */
    @Value("${UserCash.yzhBackNotify}")
    private String yzhBackNotify;

    public String getSwitchEnable() {
        return switchEnable;
    }

    public void setSwitchEnable(String switchEnable) {
        this.switchEnable = switchEnable;
    }

    public String getSyncSwitchEnable() {
        return syncSwitchEnable;
    }

    public void setSyncSwitchEnable(String syncSwitchEnable) {
        this.syncSwitchEnable = syncSwitchEnable;
    }

    public String getMinWithdraw() {
        return minWithdraw;
    }

    public void setMinWithdraw(String minWithdraw) {
        this.minWithdraw = minWithdraw;
    }

    public String getMaxWithdraw() {
        return maxWithdraw;
    }

    public void setMaxWithdraw(String maxWithdraw) {
        this.maxWithdraw = maxWithdraw;
    }

    public String getUpperBoundMoney() {
        return upperBoundMoney;
    }

    public void setUpperBoundMoney(String upperBoundMoney) {
        this.upperBoundMoney = upperBoundMoney;
    }

    public String getSecPassword() {
        return secPassword;
    }

    public void setSecPassword(String secPassword) {
        this.secPassword = secPassword;
    }

    public String getYzhBackNotify() {
        return yzhBackNotify;
    }

    public void setYzhBackNotify(String yzhBackNotify) {
        this.yzhBackNotify = yzhBackNotify;
    }
}
